<?php

// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('think', function () {
    return 'hello,ThinkPHP6!';
});

Route::get('hello/:name', 'index/hello');
Route::get('oilAuth', '\app\index\controller\Index@oilAuth')->name('oilAuth');


Route::get('qr','\app\index\controller\Index@qr')->name('qr');

//中间页支付
Route::get('webPay','\app\api\controller\v3\Pay@webPay')->name('webPay');

//影票获取订单详情页
//https://hfcs.dmjvip.com/c/Lv5KoRCPN7
Route::get('c/[:code]','\app\api\controller\MovieOrder@showEnCode')->name('c');

// 统一订单的url
Route::get('u/[:code]','\app\api\controller\CouponOrder@showEnCode')->name('u');
